home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Run Magazine ReRun 1985 Fall
/
rerun-1985-fall.d64
/
colors demo
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
484b
|
23 lines
10 rem pic
20 gosub180:goto60
30 a=a+v:ifa<1024thena=a+1001
40 ifa>2023thena=a-1001
50 pokea,k:pokea+d,c:return
60 j=j+2:v=0-40:gosub30
70 v=0-1:fori=1toj-1step1:gosub30:next
80 v=40:fori=1toj:gosub30:next
90 v=1:fori=1toj:gosub30:next
100 v=0-40:fori=1toj:gosub30:next
110 r=peek(56324)+r+a
120 ifr>32767thenr=r-32767
130 p=rand7:k=peek(828+p)
140 c=rand15:ifc=0thenc=7
150 ifj>7thena=a-199:j=0-1
170 goto60
180 poke53280,0:poke53281,0:k=160
190 printchr$(147);:a=1524:d=54272:c=1
200 poke828,230:poke829,102:poke830,94
210 poke831,95:poke832,222:poke833,233
220 poke834,105:poke835,160:j=0-1
230 printchr$(14);:return